package com.wh.springboot.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DataView {
    private Object data;
    private Long count = 0L;

    public DataView(Long count, Object data) {

        this.count = count;
        this.data = data;
    }

    public DataView(Object data) {
        this.data = data;
    }
}
